package com.dshore.messagecenter.model.topicqueue;

import java.util.Date;

import com.dshore.messagecenter.model.Property;

/**
 * 消息队列
 * QUEUE_NAME和VHOST_NAME只是为了增删队列
 * @author Showpo
 *
 */
public class MdTopic extends Property{
	
	/**选中的源应用*/
	private String checkAppId;
	
	/** ID */
	private String id;
	/**创建人*/
	private Date createdTimeById;
	/**修改人*/
	private Date modifiedTimeById;
	/** 主题队列名称 */
	private String topicQueueName;
	/** 主题队列标志 */
	private String topicQueueNo;
	/** 排序号(用来排序) */
	private Integer seq;
	/** 接入方式 (1.队列 2.服务 ) */
	private String accessType;
	/**队列名称*/
	private String exchangeName;
	/**虚拟主机名称*/
	private String vhostName;
	/**目标应用个数*/
	private String targetAppNum;
	/** 模板ID */
	private String templateId;
	/** 模板名称 */
	private String templateName;
	
	public String getTemplateName() {
		return templateName;
	}
	public void setTemplateName(String templateName) {
		this.templateName = templateName;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getCreatedTimeById() {
		return createdTimeById;
	}
	public void setCreatedTimeById(Date createdTimeById) {
		this.createdTimeById = createdTimeById;
	}
	public Date getModifiedTimeById() {
		return modifiedTimeById;
	}
	public void setModifiedTimeById(Date modifiedTimeById) {
		this.modifiedTimeById = modifiedTimeById;
	}
	public String getTopicQueueName() {
		return topicQueueName;
	}
	public void setTopicQueueName(String topicQueueName) {
		this.topicQueueName = topicQueueName;
	}
	public String getTopicQueueNo() {
		return topicQueueNo;
	}
	public void setTopicQueueNo(String topicQueueNo) {
		this.topicQueueNo = topicQueueNo;
	}
	public Integer getSeq() {
		return seq;
	}
	public void setSeq(Integer seq) {
		this.seq = seq;
	}
	public String getAccessType() {
		return accessType;
	}
	public void setAccessType(String accessType) {
		this.accessType = accessType;
	}
	public String getExchangeName() {
		return exchangeName;
	}
	public void setExchangeName(String exchangeName) {
		this.exchangeName = exchangeName;
	}
	public String getVhostName() {
		return vhostName;
	}
	public void setVhostName(String vhostName) {
		this.vhostName = vhostName;
	}
	public String getCheckAppId() {
		return checkAppId;
	}
	public void setCheckAppId(String checkAppId) {
		this.checkAppId = checkAppId;
	}
	@Override
	public String toString() {
		return "MdTopic [checkAppId=" + checkAppId + ", id=" + id + ", createdTimeById=" + createdTimeById
				+ ", modifiedTimeById=" + modifiedTimeById + ", topicQueueName=" + topicQueueName + ", topicQueueNo="
				+ topicQueueNo + ", seq=" + seq + ", accessType=" + accessType
				+ ", exchangeName=" + exchangeName + ", vhostName=" + vhostName + ", templateId=" + templateId + "]";
	}
	public String getTargetAppNum() {
		return targetAppNum;
	}
	public void setTargetAppNum(String targetAppNum) {
		this.targetAppNum = targetAppNum;
	}
	public String getTemplateId() {
		return templateId;
	}
	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}
	
	
	

}
